<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Inicio extends CI_Controller {
	
	function __construct(){
		parent::__construct();
		//$login = new Auth();
		//$login->comprobar_login();
	}
	
	public function index()	{
		$this->load->model('BbddDao');
		$data['lista_bbdd'] = $this->BbddDao->getBasesDeDatos();
		$this->load->view('inicio/portada',$data);
	}

}

?>
